package com.oneear.service;


import com.oneear.mapper.UserMapper;
import com.oneear.pojo.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServices {

    /**
     *
     */
    @Autowired
    private UserMapper userMapper;


    public User querById(Long userid) {

        return userMapper.selectUserById(userid);

    }
}
